package com.webside.wap.common.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.webside.wap.common.mapper.PBannerMapper;
import com.webside.wap.common.model.PBanner;
import com.webside.wap.common.service.PBannerService;
@Service("PBannerServiceimpl")
public class PBannerServiceImpl implements PBannerService {
	@Autowired
	PBannerMapper pBannerDao;
	
	/**
	 * 获取轮播图集合
	 * 根据Banner类型拖取集合
	 * @param String target
	 */
	public List<PBanner> getAllByTarget(String target) {

		return pBannerDao.getAllByTarget(target);
	}

}
